package com.triones.yjj.service.payment;

import com.triones.yjj.entity.vo.WxOrderParam;

import java.util.Map;

/**
 * @author cww
 * @version 1.0
 * 2024/7/17 14:10
 */

public interface PaymentManager {

    /**
     * 创建订单和预支付ID
     * @param param
     * @return
     */
    Map createOrder(WxOrderParam param);

    /**
     * 支付回调
     * @param params
     * @return
     */
    String onCallback(Map<String, String> params);
}
